import sys
import cPickle

class Personne:
	#nom
	#telephonne
	def __init__(self, nom="nom inconnu",telephone="pas de numero"):
		self.nom=nom
		self.telephone=telephone
		
	def toString(self):
		print ("nom" , self.getNom() , "numero" , self.getTelephone())
		return "nom : " + self.getNom() + " - numero : " + self.getTelephone()
		
	def getNom(self):
		return self.nom
	
	def getTelephone(self):
		return self.telephone
	
	def lenTelephone(self):
		return len(self.telephone)
